package ru.amse.podolsky.fractalarch.model;

/**
 *
 * @author Алексей
 */

import java.awt.image.*;
import java.io.*;

public interface ICompression {
    public int numberOfBlocks();
    public Block getBlock(int x, int y);
    public Block getBlock(int number);
    public int getMiddleColor();
    public int getNumberOfDomens();
    public int getImageWidth();
    public int getImageHeight();
    public DomenParams[] compress() throws IOException;
    public BufferedImage decompress(ru.amse.podolsky.fractalarch.model.DomenParams[] domenParams, int step);
    public BufferedImage returnBuff();
}
